//- Author: wang885298.
//- Date   : 2017/11/8.
//- File   : notesPc.
@import "style";

body, html, #app {
  height: 100%;
}

body {
  max-width: 100%;
  font-family: "Microsoft YaHei";
}

.notesPc {
  .common-icon {
    font-size: x-large;
    vertical-align: -3px;
  }

  .new-btn {
    padding: 3px 35px;
    font-size: @smallestSize;
  }

  .new-btn-small {
    padding: 2px 15px;
    font-size: @smallestSize;
    line-height: 26px;
  }

  .btn-submit {
    background-color: @comfirmBtn;
  }

  .fixed-btn {
    position: fixed;
    width: 100%;
    right: 0;
    bottom: 0;
    padding: 15px 25px;
    background: #fff;
    z-index: 99;
  }

  //通用输入框边框
  .ivu-input {
    padding: 4px 30px 4px 20px;
    border-radius: 25px;
    font-size: 1.3rem;
    font-family: "Microsoft YaHei";
  }

  textarea.ivu-input {
    border-radius: 12px !important;
  }

  .ivu-form .ivu-form-item-label {
    text-align: left;
    font-size: @smallestSize;
    color: @secondaryColor;
  }

  .ivu-checkbox + span, .ivu-checkbox-wrapper + span {
    font-size: @smallestSize;
    vertical-align: bottom;
  }

  .auxiliary {
    color: @auxiliaryColor;
    font-size: @smallestSize;
  }

  .pl5 {
    padding-left: 5px;
  }

  .mb10 {
    margin-bottom: 10px;
  }

  .ml15 {
    margin-left: 15px;
  }

  .tr {
    text-align: right;
  }

  //时间选择器图标
  .icon-calendar-table:before {
    content: "\E6BD";
    position: absolute;
    z-index: 99;
    font-size: x-large;
    right: 10px;
    top: -2px;
    color: #0289d4;
  }

  .ivu-icon-ios-calendar-outline:before {
    content: "";
    z-index: -1;
  }

  .ivu-input-icon {
    right: 6px;
    font-size: x-large;
    color: #0289d4;
    z-index: 99;
  }

  .line {
    font-weight: 500;
    margin: 10px 0 10px;
    position: relative;
  }

  .line:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    border-top: 1.5px dashed #eee;
    position: absolute;
    top: 10px;
    left: 0;
  }

  .ivu-icon-ios-calendar-outline:before {
    content: "";
    z-index: 99 !important;
  }

  .ivu-checkbox-checked .ivu-checkbox-inner {
    border-color: #0289d4;
    background-color: #fff;
    border-radius: 6px;
  }

  .ivu-checkbox-inner {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }

  .ivu-checkbox-checked .ivu-checkbox-inner:after {
    content: '';
    display: table;
    width: 8px;
    height: 12px;
    position: absolute;
    top: 1px;
    left: 5px;
    border: 2px solid #0289d4;
    border-top: 0;
    border-left: 0;
    -ms-transform: rotate(45deg) scale(1);
    transform: rotate(45deg) scale(1);
    transition: all .2s ease-in-out;
  }

  .ivu-checkbox-inner:after {
    content: '';
    display: table;
    width: 8px;
    height: 12px;
    position: absolute;
    top: 1px;
    left: 5px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    -ms-transform: rotate(45deg) scale(0);
    transform: rotate(45deg) scale(0);
    transition: all .2s ease-in-out;
  }

  .ivu-checkbox-input {
    border-radius: 6px;
  }

  .new-ghost {
    font-size: @smallestSize;
    color: @commonblue;
    padding: 3px 15px;
  }

  .ivu-form-item-required .ivu-form-item-label:before {
    content: '';
    display: none;
    margin-right: 4px;
    line-height: 1;
    font-family: SimSun;
    font-size: 12px;
    color: #ed3f14;
  }

  .ivu-tag {
    padding: 0 10px;
    border-radius: 25px;
  }

  .ivu-tag-red, .ivu-tag-red.ivu-tag-dot .ivu-tag-dot-inner {
    background-color: #c3c2c2;
  }

  .ivu-tag-blue, .ivu-tag-blue.ivu-tag-dot .ivu-tag-dot-inner {
    background: #39b9ec;
  }

  .ivu-tag-green, .ivu-tag-green.ivu-tag-dot .ivu-tag-dot-inner {
    background: #fff;
    color: #7d7d7d;
    border: 1px solid #e0e0e0;
  }

  table {
    font-size: @smallestSize;
  }

  .fontColor {
    color: #7d7d7d;
  }

  .ivu-table td {
    border: none;
  }

  .ivu-table th {
    border-bottom: 1px solid #f0f0f0;
    background-color: #ffffff;
  }

  .ivu-table:before, .ivu-table:after {
    height: 0;
  }

  .ivu-table-wrapper {
    border: none;
    margin-bottom: 52px;
  }

  .ivu-table-header {
    overflow: hidden;
    color: #aaaaaa;
    font-size: 12px;
    //position: fixed;
    //left: 0;
    //top: 62px;
    //width: 100%;
  }

  .ivu-table-body {
    overflow-y: scroll;
    overflow-x: hidden;
  }

  //.ivu-table-tip{
  //  padding-top: 60px;
  //}
  .ellipsis {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    /*! autoprefixer: off */
    -webkit-box-orient: vertical;
    /* autoprefixer: on */
    -webkit-line-clamp: 1;
    line-height: 48px;
  }

  //发起活动
  &-establish {
    padding: 15px 25px;
    position: relative;
    margin-bottom: 36px;
  }

  //列表页
  &-list {
    padding-top: 62px;

    .toolBar {
      padding: 15px 25px;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 99;
      background: #fff;
    }
  }

  //详情页
  &-detail {
    padding: 20px 15px;
    overflow-y: auto;
    position: relative;

    .open {
      position: absolute;
      bottom: 0;
      right: 0;
      color: #00a0e9;
      font-size: 14px;
      width: 100%;
      text-align: right;
      cursor: pointer;
      background-color: #fff;
    }

    .ios-arrow-down {
      padding-left: 5px;
      font-size: 14px;
    }

    .noData {
      text-align: center;
      padding: 10px;
      color: #7d7d7d;
    }

    .operation {
      position: absolute;
      top: 26px;
      right: 15px;
      z-index: 99;
      cursor: pointer;
    }

    .bigWord {
      //padding-top: 5px;
      font-size: 2rem;
      color: @secondaryColor;
    }

    .row {
      position: relative;
      margin-bottom: 8px;
      overflow: hidden;
      min-height: 20px;

      &-left {
        position: absolute;
        width: 85px;
        font-size: @smallestSize;
        color: @secondaryColor;

        .status {
          padding: 3px 10px;
          border: 1px solid #b6b5b5;
          border-radius: 25px;
          margin-top: 4px;
          text-align: center;
          font-size: 13px;
        }

        .doing {
          background-color: #39b9ec;
          color: #fff;
          border: none;
        }

        .cancel {
          background-color: #e0e0e0;
          color: #7d7d7d;
          border: none;
        }
      }

      &-right {
        padding-left: 95px;
        font-size: @smallestSize;
        color: @mainPcColor;

        .title {
          font-size: @biggerSize;
          display: -webkit-box;
          overflow: hidden;
          text-overflow: ellipsis;
          word-break: break-all;
          /*! autoprefixer: off */
          -webkit-box-orient: vertical;
          /* autoprefixer: on */
          -webkit-line-clamp: 1;
          max-width: 80%;
        }
      }

      &-item {
        width: 40%;
        min-width: 230px;
        max-width: 300px;
        float: left;
      }

      &-item2 {
        width: 60%;
        float: left;
      }
    }

    .mod {
      margin-top: 10px;
      height: 105px;
      background: @modColor;
      text-align: center;
      color: @secondaryColor;
      padding: 10px;

      .people {
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-all;
        /*! autoprefixer: off */
        -webkit-box-orient: vertical;
        /* autoprefixer: on */
        -webkit-line-clamp: 1;
        line-height: 37px;
        padding-bottom: 21px;
        padding-top: 6px;
        color: @mainPcColor;
        font-size: @smallestSize;
      }
    }

    .mod2 {
      color: @secondaryColor;
      margin-top: 10px;
      height: 105px;
      margin-right: 15px;

      &-item {
        line-height: 30px;
        background-color: @modColor;
        padding: 10px;
        overflow: hidden;
        height: 50px;
        cursor: pointer;

        &-left {
          float: left;
          width: 62%;
        }

        &-right {
          float: left;
          width: 38%;
          text-align: right;
        }
      }

      &-item:first-child {
        margin-bottom: 5px;
      }
    }

    .numSize {
      font-size: 3.2rem;
      color: @bigSizeColor;
      font-weight: bold;
      margin-right: 5px;
      font-family: -webkit-body;
    }

    .mr15 {
      margin-right: 15px;
    }

    .lh18 {
      line-height: 18px;
    }

    .linkColor {
      color: @linkColor;
      font-size: 12px;
      text-decoration: underline;
      cursor: pointer;
    }

    .manage {
      overflow: hidden;
      margin-top: 10px;
      color: @secondaryColor;
      font-size: @smallestSize;

      &-item {
        width: 50%;
        text-align: center;
        position: relative;
        float: left;
        cursor: pointer;

        .content {
          background-color: #ccecfc;
          padding: 10px;
        }

        .mIcon {
          width: 125px;
          text-align: center;
          position: absolute;
          //line-height: 9;
          padding-left: 40px;

          img {
            margin-top: 10px;
          }
        }

        .mRight {
          padding-left: 70px;
        }

        .mRight p:first-child {
          margin-top: -5px;
        }

        .number {
          padding: 0 5px;
          font-size: 28px;
          color: #7d7d7d;
          font-weight: bold;
          font-style: italic;
          font-family: -webkit-body;
        }
      }

      &-item:first-child .content {
        background-color: #ffead4;
        margin-right: 15px;
      }
    }

    .rank {
      overflow: hidden;

      &-item {
        width: 50%;
        float: left;
      }
    }

    .rankTable {
      margin-top: 15px;
      overflow: hidden;

      .tableItem {
        width: 50%;
        float: left;

        &-content {
          border: 1px solid #e0e0e0;
        }
      }

      .tb-header {
        display: flex;
        align-content: space-between;
        background-color: #f8f8f8;
        padding: 6px 15px;
        border-bottom: 1px solid #e0e0e0;

        &-column {
          flex-basis: 100%;
          display: flex;
          justify-content: space-between;
        }

        .more {
          color: #03a0de;
          flex-basis: 100%;
          text-align: right;
          font-size: 12px;
          line-height: 34px;
          cursor: pointer;
        }
      }

      .tb-body {
        .ul {
          overflow: hidden;
          text-align: center;
          color: #7d7d7d;
          cursor: pointer;

          li {
            padding: 2px 0;
          }

          .one {
            max-width: 60px;
            width: 15%;
            float: left;
            font-style: italic;
            font-size: 24px;
            font-family: -webkit-body;
            //font-weight: 600;
            line-height: 40px;
            color: #c7c7c7;
          }

          .two {
            width: 45%;
            float: left;
            text-align: left !important;
            font-size: 16px;
            line-height: 40px;
            padding-left: 10px;
          }

          .three {
            width: 20%;
            float: right;
            font-size: 12px;
          }

          .tipStyle {
            font-size: 14px;
          }
        }

        .border {
          border-bottom: 1px solid #e0e0e0;
        }
      }

      .tb-body .ul:last-child {
        border-bottom: none;
      }

      .tb-body .ul:nth-child(2) li.one,
      .tb-body .ul:nth-child(3) li.one,
      .tb-body .ul:nth-child(4) li.one {
        color: #ffc55f;
      }

      .rankNum {
        font-size: 25px;
        color: #7d7d7d;
        padding-right: 3px;
        font-family: initial;
      }

      .tableItem:first-child .tableItem-content {
        margin-right: 15px;
      }
    }
  }

  //查看参与人
  &-member {
    .ivu-tabs-bar {
      margin-bottom: 40px;
    }

    .ivu-tabs-nav .ivu-tabs-tab {
      font-size: 15px;
      padding: 20px 8px 10px;
      margin-right: 54px;
      color: #7d7d7d;

      &:hover {
        color: #03a0de;
      }
    }

    .ivu-tabs-nav .ivu-tabs-tab-active {
      color: #03a0de;
      border-bottom: 3px solid #03a0de;
    }

    .ivu-tabs-ink-bar {
      display: none !important;
    }

    .ivu-tabs-ink-bar + div {
      margin-left: 26px;
    }

    .member_tab_title {
      position: absolute;
      float: left;
      width: 100%;
      background: #f4f4f4;
      top: 55px;
      border-bottom: 1px solid #e0e0e0;

      > span {
        display: block;
        float: left;
        text-align: center;
        line-height: 40px;
        font-size: 14px;
      }
    }

    .member_tab_title_1 {
      width: 104px;
      color: #7d7d7d;
    }

    .member_tab_title .member_tab_title_2 {
      float: right;
      margin-right: 20px;
      color: #03a0de;
      font-weight: bold;
      position: relative;
      z-index: 3;
      cursor: pointer;
    }

    .member_tab_li {
      width: 100%;
      height: 40;
      float: left;

      > span {
        line-height: 40px;
        float: left;
        text-align: center;
        width: 104px;
        font-size: 14px;
      }

      &:hover {
        background-color: #e5f8fd;
      }
    }

    .showMsg {
      text-align: center;
      margin-top: 100px;
    }
  }

  //写纸条
  &-writenote {
    margin: 0 20px;

    > div {
      float: left;
      width: 100%;

      .addNote {
        padding-bottom: 10px;
        background-color: #f9f9f9;
      }

      .ivu-btn-ghost {
        color: #03a0de;
      }

      .new-ghost {
        margin-top: 8px;
        margin-left: 68px;
      }
    }

    .writeNoteItemTitle {
      position: relative;
      line-height: 46px;
      text-align: center;

      span {
        display: block;
        width: 100px;
        height: 46px;
        margin: 0 auto;
        background-color: #fff;
      }

      &:before {
        position: absolute;
        z-index: -1;
        width: 100%;
        top: 23px;
        content: " ";
        display: block;
        height: 0;
        border-bottom: 1px dashed #cdcdcd;
      }
    }

    .writeNoteItem {
      width: 100%;
      float: left;
      padding: 10px 12px 6px 68px;
      background-color: #f9f9f9;
      font-size: 14px;

      span.float_left {
        float: left;
        display: block;
        line-height: 30px;
        margin-right: 14px;
        margin-left: -56px;
      }

      .deleteItem {
        position: relative;
        z-index: 99;
        float: right;
        font-size: 20px;
        line-height: 30px;
        cursor: pointer;
      }

      .ivu-select-selection {
        border-radius: 15px;
        margin-bottom: 10px;
      }

      .ivu-select-placeholder, .ivu-select-selected-value {
        padding-left: 24px;
      }

      .noteCont {
        font-size: 14px;
        float: left;
        width: 100%;

        > textarea {
          width: 100%;
          resize: none;
          padding: 12px 23px;
          border: 1px solid #e0e0e0;
          border-radius: 14px;
          height: 100px;
        }
      }
    }

    .sure-btn {
      position: relative;
      width: 220px;
      float: right;
      margin: 56px 12px 22px 0;

      .ivu-btn {
        float: right;
        width: 100px;
        margin-left: 10px;
      }
    }
  }

  //写反思/致谢
  &-writing {
    padding: 20px 15px;

    .ivu-form-item {
      margin-bottom: 10px;
    }

    textarea.ivu-input {
      min-height: 115px;
    }

    .item {
      padding: 10px 0;
      border-bottom: 1px dashed #cdcdcd;
    }
  }

  //&-writing:last-child .item{
  //  border-bottom: none;
  //}

  //写给某人的评价
  &-writeto {
    .writenotelist {
      padding: 15px;

      .writenoteitem {
        padding: 20px;
        border-radius: 10px;
        border: 1px solid #e0e0e0;
        font-size: 14px;
        color: #7d7d7d;
        margin-bottom: 15px;
        -webkit-transition: all .8s;

        &:hover {
          border-color: #8be7ff;
          color: #434343;
          background-color: #e5f8fd;
        }
      }
    }
  }
}

//通用滚动条
/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #f5f5f5;
}

/*定义滚动条的轨道，内阴影及圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  border-radius: 10px;
  background-color: #fff;
}

/*定义滑块，内阴影及圆角*/
::-webkit-scrollbar-thumb {
  /*width: 10px;*/
  height: 8px;
  border-radius: 8px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .0);
  background-color: #c6d6dd;
}

.ivu-spin-fix {
  z-index: 9999;
}
